Total Complexity | 50 |
Dependencies | 7 |
Dependents | 1 |
Total lines | 209 |
Lines of code | 139 |
Logical lines of code | 94 |
Comment lines | 7 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
product_before_set_stock() | 50 | 9 | 25 | |
before_save_order_items() | 53 | 8 | 21 | |
refund_created() | 57 | 8 | 14 | |
prevent_adjust_line_item_product_stock() | 58 | 7 | 14 | |
before_order_item_object_save() | 59 | 5 | 14 | |
product_set_stock() | 57 | 4 | 15 | |
__hooks() | 55 | 2 | 17 | |
order_item_quantity() | 69 | 3 | 6 | |
hidden_order_itemmeta() | 77 | 1 | 4 | |
reduce_order_stock() | 80 | 1 | 3 | |
restore_order_stock() | 80 | 1 | 3 | |
before_delete_order_item() | 79 | 1 | 3 |